// Function to resize of image
function DrawImage(imageElement) {
	if (imageElement.width > 230) {
		imageElement.width = 230;
		imageElement.height = imageElement.height * (230 / imageElement.width);
	}
}

// Function to redirect user to another page
function jumpToPage(url) {
	window.location = url;
}

// Function to append string to TextArea
function appendString(string, textAreaId) {
	var textArea = document.getElementById(textAreaId);
	textArea.value = textArea.value + string;
}